package services;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

/**
 * Created by young on 2016/5/20.
 */
public class BasicService extends Service{

    private static final String TAG = "BasicService";
    public static final String ACTION = "pams.services.BasicService";


    @Override
    public IBinder onBind(Intent intent) {
        Log.v(TAG,"onBind BasicService");
        return null;
    }

    @Override
    public void onCreate() {
        Log.v(TAG,"onCreate BasicService");
        super.onCreate();
    }

    @Override
    public void onStart(Intent intent, int startId) {
        Log.v(TAG,"onStart BasicService");
        super.onStart(intent, startId);
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        Log.v(TAG,"onStartCommand BasicService");
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public boolean stopService(Intent name) {
        Log.v(TAG,"stop BasicService");
        return super.stopService(name);
    }
}
